<div class="pikachoose">
	<ul id="pikame" >
		<?php 
		//echo "<pre>";print_r($upload_image);echo "</pre>";
		if(!empty($upload_image)){
			$image_count = count($upload_image);
			foreach($upload_image as $image_url): ?>
				<li><img src="<?php echo $this->config->item('image_uploader_original', 'layout').$user['id'].'/'.$image_url ?>"/></li>
			<?php endforeach; ?>
			
			<?php
				if($image_count<$this->config->item('default_image_limit','layout')){
					for($i=1 ;$i <= ($this->config->item('default_image_limit','layout') - $image_count);$i++){
						echo '<li><img src="'.$this->config->item('empty_thumb_url','layout').'"/></li>';
					}
				}	
		}else{
			for($i=1 ;$i <= $this->config->item('default_image_limit','layout');$i++){
				echo '<li><img src="'.$this->config->item('empty_thumb_url','layout').'"/></li>';
			}	
		}
			?>
	</ul>
</div>